﻿@model IList<HelloMVC.Model.Issue>
@foreach (var issue in Model)
{
<div class="ag-issue-wrapper" style="z-index: 500;">
    <input type="hidden" name="issue-id" value="@(issue.Id)"/>
    <div class="ag-issue ag-@(issue.Type)" style="height:12.8em;">
        <div class="ag-issue-inner" style="background-color: rgb(255, 255, 191); cursor: move; height: 12.8em;">
            <div class="ag-subhead">
                <div class="ag-issue-ico-wrap">
                    <div class="ag-issue-type icon-@(issue.Type)"></div>
                    <div class="ag-issue-priority icon-@(issue.Priority)"></div>
                </div>
                <div class="ag-issue-key-wrap">
                    <div class="ag-issue-key">
                        <a title="View this issue">
                            <em>@issue.ProjectKey</em><small>-</small><span>@issue.Id</span>
                        </a>
                    </div>
                </div>
            </div>
            <div class="ag-issue-body">
                <div id="hellomvc-719-summary" class="ag-issue-field ag-issue-field-textarea">
                    <div class="ag-edit-non">@issue.Summary</div>
                </div>
            </div>
            <span class="ag-grabber">.</span>
        </div>
    </div>
</div>
}